package lean;

import java.util.Arrays;

public class tr {
    public static void main(String[] args){
         char num[]={'a','b','c','d','e','f'};

Arrays.sort(num);
int   index=Arrays.binarySearch(num,'a');
System.out.println(index);
//System.out.println(Arrays.toString(index));


    }
}
